package com.lemon.conf;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * @author lemon
 * @version V1.0
 * @date 2020/10/23
 */
@Configuration
public class RedisConfig {

    @Bean
    public RedisTemplate redisTemplate(){
        return new RedisTemplate();
    }
}
